package com.weds.edwx.service;


import com.weds.edwx.entity.RequestEntity;
import com.weds.edwx.entity.ReturnEntity;
import com.weds.edwx.mapper.BusinessMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BusinessService {

    @Autowired
    private BusinessMapper businessMapper;


    public List<ReturnEntity> selectAttence(RequestEntity requestEntity){
        return businessMapper.selectAttence(requestEntity);
    }

    public int selectCountAttence(RequestEntity requestEntity){
        return businessMapper.selectCountAttence(requestEntity);
    }

    public int insertLog(RequestEntity requestEntity){
        return businessMapper.insertLog(requestEntity);
    }

}
